package com.coffeeloversupportlibrary.coffeelover.domain.mine;

import android.os.Bundle;
import android.view.View;

import androidx.annotation.Nullable;

import com.coffeeloversupportlibrary.R;
import com.coffeeloversupportlibrary.core.base.BaseFragment;
import com.coffeeloversupportlibrary.databinding.MineFragmentBinding;

/**
 * @author puyv
 * @createTime 2021/11/8 19:06
 * @projectName CoffeeLoverSupportLibrary
 * @className MineFragment.java
 * @description TODO
 */
public class MineFragment extends BaseFragment<MineViewModel, MineFragmentBinding> implements View.OnLongClickListener {
    @Override
    public void registerUIChangeCallBack() {

    }

    @Override
    public int getLayoutId() {
        return R.layout.mine_fragment;
    }

    @Override
    public void initData(@Nullable Bundle savedInstanceState) {
        getBinding().setJumbDetails.setOnLongClickListener(this);

    }


    @Override
    public boolean onLongClick(View v) {
        if(v.equals(getBinding().setJumbDetails)){
//            startActivity(ArticleDetails.class);
        }
        return false;
    }
}
